package main.model.critters.listener;

import main.model.critters.Critter;

import java.util.logging.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: gabe
 * Date: 23/06/13
 * Time: 14:54
 * To change this template use File | Settings | File Templates.
 */
public class CritterLogger
        implements CritterListener {



    private static final Logger LOG = Logger.getLogger(CritterLogger.class.getName());

    @Override
    public void deathEvent(Critter cadaver) {
        LOG.info("Critter "+cadaver.toString()+" has died.");
    }

    @Override
    public void birthEvent(Critter infant) {
        LOG.info("Critter "+infant.toString()+" has been born.");
    }

    @Override
    public void huntEvent(Critter predator, Critter prey) {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
